package com.smxy.daydayup.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.smxy.daydayup.pojo.ExamBank;
import com.smxy.daydayup.mapper.ExamBankMapper;
import com.smxy.daydayup.service.ExamBankService;
/**
  * @team daydayup
  * @time 2021-12-06 21:45
  */
@Service
public class ExamBankServiceImpl implements ExamBankService{

    @Resource
    private ExamBankMapper examBankMapper;

    @Override
    public int deleteByPrimaryKey(Long examBankId) {
        return examBankMapper.deleteByPrimaryKey(examBankId);
    }

    @Override
    public int insert(ExamBank record) {
        return examBankMapper.insert(record);
    }

    @Override
    public int insertSelective(ExamBank record) {
        return examBankMapper.insertSelective(record);
    }

    @Override
    public ExamBank selectByPrimaryKey(Long examBankId) {
        return examBankMapper.selectByPrimaryKey(examBankId);
    }

    @Override
    public int updateByPrimaryKeySelective(ExamBank record) {
        return examBankMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ExamBank record) {
        return examBankMapper.updateByPrimaryKey(record);
    }

}
